using System;

namespace BasicData.API.Dtos
{
    /// <summary>
    /// 包含商品信息的生产信息数据传输对象
    /// </summary>
    public class ProductionInfoWithGoodsDTO
    {
        /// <summary>
        /// 唯一标识
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        public string BatchNumber { get; set; } = null!;

        /// <summary>
        /// 保质期（天）
        /// </summary>
        public int ShelfLifeDays { get; set; }

        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string? ProductionLicenseNumber { get; set; }

        /// <summary>
        /// 生产企业
        /// </summary>
        public string? ManufacturerName { get; set; }

        /// <summary>
        /// 封面图
        /// </summary>
        public string? CoverImageUrl { get; set; }

        /// <summary>
        /// 商品Id
        /// </summary>
        public int GoodsId { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string? GoodsName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifiedTime { get; set; }
    }
}